package com.sdleyou.treepro.common.service;

import com.sdleyou.treepro.common.model.dto.PropDTO;
import com.sdleyou.treepro.common.model.vo.CardVO;
import com.sdleyou.treepro.common.model.vo.PropVO;

import javax.smartcardio.Card;

public interface CardManager {

    /**
     * 创建卡片
     *
     */
    void createCard(String img);

    /**
     * 更新卡片
     *
     */
    void updateCard(String cardId, String img);

    /**
     * 获取卡片详情
     */
    CardVO findOne(String cardId);

    /**
     * 随机获取一张卡片
     */
    CardVO random();
}
